<style type="text/css">
.divnoidung img{
	float:none!important;
}
</style>
<div class="wrapper right-box-wrapper">
    <div class="right-box-title"><a href="#" title="Tin tức" class="right-box-caption"><h2><?php if(!empty($title)) echo $title; else echo 'Tin tức';?></h2></a></div>
    <div class="right-box-content">
        
        
        <div class="list-news-wrapper">

		    <div class="post-wrapper">
        
            <?php
                if(!empty($chitiettin->hinhanh))
                    echo '<img src="'.$chitiettin->hinhanh.'" class="float-left margin-right-10px" width="194" height="112" style="margin-right: 5px; padding: 3px; border: solid 1px #CCC">';
            ?>
            
            <h5 class="uppercase"><?=$chitiettin->tieude?></h5>
            <p style="margin-top:-10px">
            <?=$chitiettin->mota?>
            </p>
            <div style="clear:both; float:left; margin-top:10px;" class="divnoidung">
                <?=$chitiettin->noidung?>
            </div>
            </div>
            
        </div>
        <?php
        	if(isset($tinkhac) && count($tinkhac)>0):
		?>
        <style type="text/css">
			.ul_tinkhac_home{
				clear:both;
				float:left;
				margin-top:15px;
			}
		   	.ul_tinkhac_home li{
				background:url(images/s-bullet.png) no-repeat left;
				padding-left:12px;
				line-height:17px;
			}
			.ul_tinkhac_home li a:hover{
				text-decoration:underline;
			}
		   </style>
           
        <ul class="ul_tinkhac_home">
        	<h3 style="margin-bottom:4px;">Tin cùng chuyên mục</h3>
        	<?php
            	foreach($tinkhac as $tinkhac):
			?>
	        	<li><a href="<?=site_url('thangthanh/detail/'.$tinkhac->id)?>"><?=$tinkhac->tieude?></a></li>
            <?php
            	endforeach;
			?>
        </ul>
        <?php
        	endif;
		?>
    </div>
</div>